Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/customizable UI config #27

Closed

Conversation

john-pope
Copy link

There are many options in the swagger ui configuration that can't currently be set. This update allows setting most parameters that are listed in the SwaggerUI configuration documentation (simple values only, no functions or variable values)

This would allow for handling scenarios reported in issues #9 and #18 like this:

swagger_doc_config = { "validationUrl": None, "displayRequestDuration": True }

api_doc(app, config_path='/config/test.yaml', title='API doc', doc_config=swagger_doc_config)

@PWZER
Copy link
Owner

PWZER commented Dec 8, 2021

Supported,Thank you!

@PWZER PWZER closed this Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants